﻿<Window x:Class="SkypeHistory.OpenDatabaseWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Select Skype Database" ResizeMode="NoResize"
        Width="290" Height="175">
    <StackPanel>
        <TextBlock Text="Select Skype profile or locate database file manually" Margin="5"/>
        <StackPanel Orientation="Horizontal">
            <TextBlock Text="Profile:" Margin="5"/>
            <ComboBox Width="230" Margin="3" x:Name="ProfilesList" ItemsSource="{Binding Profiles}" SelectionChanged="ProfileListSelectionChanged" />
        </StackPanel>
        <TextBlock Text="Database file:" Margin="5"/>
        <StackPanel Orientation="Horizontal">
            <TextBox Width="200" Margin="5" x:Name="DatabasePathBox" TextChanged="DatabasePathBoxTextChanged" />
            <Button Content="Browse" Margin="5" Padding="5,0,5,0" Click="BrowseButtonClick" />
        </StackPanel>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
            <Button Content="OK" Margin="5" Padding="5,0,5,0" Click="OKButtonClick" />
            <Button Content="Cancel" Margin="5" Padding="5,0,5,0" Click="CancelButtonClick" />
        </StackPanel>
    </StackPanel>
</Window>
